/*
 * Copyright (c) ycq_work@163.com
 */

package com.mxg.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mxg.blog.entity.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: ycq_work@163.com
 * @DATE: 2023/7/25 11:32
 * 数据库操作对应的Mapper
 */
@Mapper
public interface MessageMapper extends BaseMapper<Message> {
    // 留言信息
    void sendMessage(String messageConnect, String messageEmail, String messagePhone, String messageName, String ip);

    // 获取所有的信息
    List<Message> getMessages();
}
